<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<script src="../js/vue.js"></script>
<body>
    <div class="app">
        <a v-bind:href="url">百度一下</a>
        <img :src="imgs" alt="">

    </div>
    <script>
        new Vue({
            el:".app",
            data:{
                url:"https://www.baidu.com/",
                imgs:"https://pics0.baidu.com/feed/86d6277f9e2f0708bbd46e4ea6837d92ab01f2da.jpeg@f_auto?token=e1adbe5233e44de9d0da82ae00d38ea8"
            }
        })
    </script>
</body>
</html>